package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 护理等级Mapper接口
 */
@Mapper
public interface NursingLevelMapper {
  NursingLevelVo getAll();

  void add(NursingLevel nursingLevel);

  Page<NursingLevel> selectByPage(String name, Integer status);

  NursingLevelVo getById(String id);

  void update(NursingLevelDto nursingLevelDto);

  void deleteById(String id);

  void isActive(String id, Integer status);
}
